package com.bykj.property.controller.vo.request;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bykj.property.model.SysRole;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

/**
* @author yiming
* @description: TODO
* @date 2019-06-20
*/
@Data
public class SysUserPageRequest extends Page {
    @ApiModelProperty(value = "账户名称")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "盐",hidden = true)
    private String salt;
    @ApiModelProperty(value = "手机")
    private String phone;
    @ApiModelProperty(value = "姓名")
    private String name;
    /**
     * 角色id属性
     */
    @TableField(exist = false)
    @ApiModelProperty(hidden = true)
    private List<SysRole> sysRoles;
    @TableField(exist = false)
    @ApiModelProperty(hidden = true)
    private String token;
    @ApiModelProperty(hidden = true)
    private Timestamp createTime;
    private Timestamp updateTime;
}